//package com.eastfair.auth.controller;
//
//
//import com.eastfair.auth.dto.OrganizationDTO;
//import com.eastfair.auth.entity.Organization;
//import com.eastfair.auth.service.OrganizationService;
//import com.eastfair.auth.service.VenueOrganizationService;
//import com.eastfair.core.base.R;
//import com.eastfair.core.context.ContextUtil;
//import com.eastfair.echo.core.EchoService;
//import com.eastfair.log.point.PointUtil;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//
///**
// * <p>
// * 厦门场馆controlelr
// *
// * </p>
// *
// * @author ligang
// * @date 2021-09-07
// */
//@Slf4j
//@Validated
//@RestController
//@RequestMapping("/venueOrganization")
//@Api(value = "厦门场馆组织", tags = "")
//public class VenueOrganizationController {
//    @Autowired
//    VenueOrganizationService venueOrganizationService;
//
//
//    /**
//     * 查询场馆系统组
//     *
//     * @param organizationDTO 实体
//     *                        projectId 项目id
//     * @return
//     */
//    @ApiOperation(value = "查询场馆系统组", notes = "查询场馆系统组")
//    @PostMapping("/queryOrg")
//    public R<Organization> queryOrg(@RequestBody OrganizationDTO organizationDTO) {
//        return R.success(venueOrganizationService.queryOrg(organizationDTO));
//    }
//
//    /**
//     * 添加资源到场馆系统里
//     *
//     * @param organizationDTO 实体
//     *                        projectId 项目id
//     *                        orgType 节点类型
//     *                        resourceId 资源id
//     *                        resourceType 资源类型
//     * @return
//     */
//    @ApiOperation(value = "添加资源到场馆系统里", notes = "添加资源到场馆系统里")
//    @PostMapping("/addResourceOfVenue")
//    public R addResourceOfVenue(@RequestBody OrganizationDTO organizationDTO) {
//        return venueOrganizationService.addResourceOfVenue(organizationDTO);
//    }
//
//
//
//
//    /**
//     * 场馆系统里解散资源
//     *
//     * @param organizationDTO 实体
//     *        parentId 父级节点id
//     *        resourceId 资源id
//     *        resourceType 资源类型
//     * @return
//     */
//    @ApiOperation(value = "场馆系统里解散资源", notes = "场馆系统里解散资源")
//    @PostMapping("/breakResouceVenue")
//    public R breakResouceVenue(@RequestBody OrganizationDTO organizationDTO) {
//        return venueOrganizationService.breakResouceVenue(organizationDTO);
//    }
//}
